#include <stdio.h>

int ispy(int n) {
    int c_square = n * n;
    for (int a = 1; a < n; a++) {
        for (int b = a; b < n; b++) {
            if (a * a + b * b == c_square) {
                return 1;
            }
        }
    }
    return 0;
}

int main() {
    int n;
    scanf("%d", &n);
    if (ispy(n)) {
        printf("%d:yes", n);
    } else {
        printf("%d:no", n);
    }
    return 0;
}